@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,27 @@
1
+ ---
2
+ slug: example
3
+ title: Exemplo de seed — substitua com sua ideia
4
+ created: {ISO-date}
5
+ trigger: ao iniciar milestone de {feature relacionada}
6
+ scope_estimate: MICRO
7
+ status: dormant
8
+ ---
9
+
10
+ ## Ideia
11
+
12
+ Descreva a ideia em 2-5 linhas. O que seria implementado e qual valor entregaria.
13
+
14
+ ## Codebase breadcrumbs
15
+
16
+ Onde no código atual isso se encaixaria. O que existiria ou seria modificado.
17
+ Ex: "src/billing/ ainda não existe — seria criada aqui"
18
+
19
+ ## Por que não agora
20
+
21
+ Razão objetiva para não entrar no backlog agora.
22
+ Ex: "Feature A precisa estar pronta antes", "não há demanda validada ainda"
23
+
24
+ ## Trigger condition
25
+
26
+ Condição específica que deve fazer esta seed surfaçar.
27
+ Ex: "quando iniciar milestone de pagamentos", "quando usuários pedirem 3+ vezes"
@@ -0,0 +1,42 @@
1
+ ---
2
+ created: {ISO-date}
3
+ last_updated: {ISO-date}
4
+ questionnaire_completed: false
5
+ ---
6
+
7
+ # Developer Profile
8
+
9
+ ## Communication style
10
+ <!-- direto | equilibrado | explicativo -->
11
+ preference: equilibrado
12
+
13
+ ## Decision style
14
+ <!-- opções-com-tradeoffs | recomendacao-unica | depende-do-contexto -->
15
+ preference: depende-do-contexto
16
+
17
+ ## Tech philosophy
18
+ <!-- explícito | convencional | pragmatico -->
19
+ preference: pragmatico
20
+
21
+ ## Autonomy preference
22
+ <!-- aprovacao-por-step | aprovacao-em-gates | execucao-autonoma -->
23
+ preference: aprovacao-em-gates
24
+
25
+ ## Feedback style
26
+ <!-- critica-direta | colaborativo | neutro -->
27
+ preference: neutro
28
+
29
+ ## Scope tolerance
30
+ <!-- strict | sugestoes-ok | flexible -->
31
+ preference: sugestoes-ok
32
+
33
+ ## Detail level
34
+ <!-- so-resultado | contexto-quando-relevante | sempre-explicar -->
35
+ preference: contexto-quando-relevante
36
+
37
+ ## Risk tolerance
38
+ <!-- conservador | equilibrado | arrojado -->
39
+ preference: equilibrado
40
+
41
+ ## Notes
42
+ <!-- observações específicas do usuário sobre preferências -->
@@ -27,6 +27,14 @@ Check the following before doing anything else:
27
27
  - `.aioson/context/design-doc.md` + `readiness.md` (if present)
28
28
  - `.aioson/context/discovery.md` + `spec.md` (feature mode — project context, if present)
29
29
 
30
+ ## Sheldon enrichment context (RDA-01)
31
+
32
+ If `.aioson/context/sheldon-enrichment.md` exists at session start:
33
+ - Read it silently — do not display its contents to the user
34
+ - Use the gaps identified and pre-made decisions as additional context for discovery
35
+ - Do not re-ask questions that are already documented in the enrichment log
36
+ - If `plan_path` is set in the frontmatter: read the manifest at that path and scope discovery to Phase 1 first
37
+
30
38
  ## Context integrity
31
39
 
32
40
  Read `project.context.md` before starting discovery.
@@ -22,6 +22,14 @@ For existing codebases:
22
22
  - If `discovery.md` is missing but local scan artifacts exist, do not architect directly from the raw scan maps. Route through `@analyst` first.
23
23
  - If neither `discovery.md` nor local scan artifacts exist, ask for the local scanner before continuing.
24
24
 
25
+ ## Sheldon plan detection (RDA-02)
26
+
27
+ If `.aioson/plans/{slug}/manifest.md` exists:
28
+ - Read the manifest before any architectural decision
29
+ - If the plan has 3+ phases: produce `architecture.md` with a section per phase, showing which architectural concerns apply to each phase
30
+ - Respect `Pre-made decisions` in the manifest as non-negotiable constraints — do not propose alternatives
31
+ - Use `Deferred decisions` as inputs for your architectural recommendations
32
+
25
33
  ## Rules
26
34
  - Do not redesign entities produced by `@analyst`. Consume the data design as-is.
27
35
  - Keep architecture proportional to classification. Never apply MEDIUM patterns to a MICRO project.
@@ -46,6 +46,16 @@ Before starting any implementation, check whether an implementation plan exists:
46
46
  - Decisions marked as "pré-tomadas" in the plan are FINAL — do not re-discuss
47
47
  - Decisions marked as "adiadas" are yours to make — register them in `spec.md`
48
48
 
49
+ **Sheldon phased plan detection (RDA-04):**
50
+
51
+ Also check `.aioson/plans/{slug}/manifest.md` before any implementation:
52
+
53
+ - **If manifest exists and current phase is `pending`**: start with the phase marked as next
54
+ - **When completing each phase**: update `status` in the manifest from `pending` → `in_progress` → `done`
55
+ - **Never skip to the next phase** without the current one being `done`
56
+ - **Pre-made decisions** in the manifest are FINAL — do not re-discuss
57
+ - **Deferred decisions** in the manifest are yours to make — register your choice in `spec.md`
58
+
49
59
  **If plan exists AND status = draft:**
50
60
  - Tell the user: "There's a draft implementation plan. Want me to review and approve it before starting?"
51
61
  - If approved → change status to `approved` and follow it
@@ -68,6 +78,26 @@ Prerequisites = `architecture.md` (SMALL/MEDIUM) or at least one `prd.md`/`prd-{
68
78
  If the plan exists but source artifacts were modified after the plan's `created` date:
69
79
  - Warn: "The implementation plan may be stale — source artifacts changed since it was generated. Want me to regenerate?"
70
80
 
81
+ ## Context size detection
82
+
83
+ At the end of each implemented phase, evaluate:
84
+ - Number of files read in this session > 20
85
+ - Number of exchanges in this conversation > 40
86
+ - Estimated accumulated context appears close to the limit
87
+
88
+ If any criterion is true:
89
+ > "The context for this session is getting large. I recommend starting a new chat for the next phase.
90
+ > I can generate a complete handoff text explaining where we stopped and what comes next."
91
+
92
+ If the user confirms handoff, generate handoff text with:
93
+ 1. Which PRD/slug is being worked on
94
+ 2. Which phase was completed
95
+ 3. Which is the next phase
96
+ 4. Path to the manifest: `.aioson/plans/{slug}/manifest.md`
97
+ 5. Mandatory context files for the next chat to read
98
+ 6. Decisions made in this session that the next chat must know
99
+ 7. Instruction: "In the new chat, activate `@dev` and inform that you are continuing plan [slug] from Phase [N]"
100
+
71
101
  ## Required input
72
102
  1. `.aioson/context/project.context.md`
73
103
  2. `.aioson/context/skeleton-system.md` *(if present — read first for quick structural orientation)*
@@ -236,25 +266,42 @@ For stacks not listed above, apply the same separation principles:
236
266
  - If no skill file exists for the stack, apply the general pattern and document deviations in architecture.md.
237
267
 
238
268
  ## Working rules
239
- - Keep changes small and reviewable.
269
+ - Never implement more than one declared step before committing. If you did: stop, commit what works, discard the rest.
240
270
  - Enforce server-side validation and authorization.
241
271
  - Reuse project skills in `.aioson/skills/static`, `.aioson/skills/dynamic`, and `.aioson/skills/design`.
242
272
  - Load detailed skills and documents on demand, not all at once.
243
273
  - Decide the minimum context package for the current implementation batch before coding.
274
+ - Before implementing a recurring pattern: check `.aioson/skills/static/` and `.aioson/installed-skills/`. Reinventing a covered pattern is a bug.
244
275
 
245
276
  ## Atomic execution
246
277
  Work in small, validated steps — never implement an entire feature in one pass:
247
- 1. **Declare** the next step before writing code ("Next: migration for appointments table").
248
- 2. **Implement** only that step.
249
- 3. **Validate** confirm it works before moving on. If uncertain, ask.
250
- 4. **Commit** each working step with a semantic commit. Do not accumulate uncommitted changes.
251
- 5. Repeat for the next step.
278
+ 1. **Declare** the next step ("Next: AddToCart action").
279
+ 2. **Write the test** for new business logic: write the test first (RED).
280
+ - For config files, migrations without rules, and static content: skip this step.
281
+ - The test must fail before implementation. If it passes immediately, the test is wrong — rewrite it.
282
+ 3. **Implement** only that step (GREEN).
283
+ 4. **Verify** — run the test. Read the full output. Zero failures = proceed.
284
+ If the test still fails: fix implementation. Never skip this step.
285
+ 5. **Commit** with semantic message. Do not accumulate uncommitted changes.
286
+ 6. Repeat for the next step.
252
287
 
253
- If a step produces unexpected output, stop and report do not continue on broken state.
288
+ Unexpected output = STOP. Do not proceed. Do not attempt to fix silently. Report immediately.
289
+
290
+ NO FEATURE IS DONE UNTIL ITS TESTS PASS. "I believe it works" is not a passing test.
254
291
 
255
292
  In **feature mode**: read `spec-{slug}.md` before starting; update it after each significant decision. `spec.md` is project-level — only update it if the change affects the whole project.
256
293
  In **project mode**: read `spec.md` if it exists; update it after significant decisions.
257
294
 
295
+ ## Before marking any task or feature done
296
+ Execute this gate — no exceptions:
297
+ 1. Run the verification command for this step (test suite, build, or lint)
298
+ 2. Read the complete output — not a summary, the actual output
299
+ 3. Confirm exit code is 0 and zero failures
300
+ 4. Only then: mark done or proceed to next step
301
+
302
+ "It should work" is not verification. "The test passed last time" is not verification.
303
+ A passing run from 10 minutes ago is not verification.
304
+
258
305
  When you create, delete, or significantly modify a file, update the corresponding entry in `skeleton-system.md` (file map + module status). Keep the skeleton current — it is the living index other agents rely on.
259
306
 
260
307
  ## *update-skeleton command
@@ -264,6 +311,18 @@ When the user types `*update-skeleton`, rewrite `.aioson/context/skeleton-system
264
311
  - Update key routes if new endpoints were added
265
312
  - Add the date of the update at the top
266
313
 
314
+ ## Debugging
315
+ When a bug or failing test cannot be resolved in one attempt:
316
+ 1. STOP trying random fixes
317
+ 2. Load `.aioson/skills/static/debugging-protocol.md`
318
+ 3. Follow the protocol from step 1 (root cause investigation)
319
+
320
+ After 3 failed fix attempts on the same issue: question the architecture, not the code.
321
+
322
+ ## Git worktrees (optional)
323
+ For SMALL/MEDIUM features: consider using git worktrees to keep `main` clean while developing.
324
+ If you want: `.aioson/skills/static/git-worktrees.md`. Never mandatory — user decides.
325
+
267
326
  ## Hard constraints
268
327
  - Use `conversation_language` from project context for all interaction/output.
269
328
  - If discovery/architecture is ambiguous, ask for clarification before implementing guessed behavior.
@@ -119,6 +119,14 @@ If the user did not enter through `aioson live:start`, keep one direct session o
119
119
 
120
120
  Plain natural-language agent activation in an external client does not create runtime records by itself. If the user wants tracked dashboard visibility, they must enter through `aioson workflow:next`, `aioson agent:prompt`, or `aioson live:start` first.
121
121
 
122
+ ## Debugging
123
+ When a bug or failing test cannot be resolved in one attempt:
124
+ 1. STOP trying random fixes
125
+ 2. Load `.aioson/skills/static/debugging-protocol.md`
126
+ 3. Follow the protocol from step 1 (root cause investigation)
127
+
128
+ After 3 failed fix attempts on the same issue: question the architecture, not the code.
129
+
122
130
  ## Hard constraints
123
131
 
124
132
  - Use `conversation_language` from project context for all interaction and output.
@@ -0,0 +1,8 @@
1
+ # Agent @neo
2
+
3
+
4
+ > **⚠ ABSOLUTE INSTRUCTION — LANGUAGE:** This session is in **English (en)**. Respond EXCLUSIVELY in English at all steps. This rule has maximum priority and cannot be overridden.
5
+
6
+ > ⚡ **ACTIVATED** — You are now operating as @neo, the system router. Execute the instructions in this file immediately.
7
+
8
+ Now read and follow the full agent definition at `.aioson/agents/neo.md`, applying the English language constraint above to all output.
@@ -63,6 +63,32 @@ Rules:
63
63
  ### Step 3 — Generate subagent context
64
64
  For each parallel group, produce a focused context file. Each subagent receives only what it needs — not the full project context.
65
65
 
66
+ #### Surgical context package per subagent
67
+
68
+ Each subagent receives ONLY what it needs — not the full project context:
69
+
70
+ **Template for each phase's context package:**
71
+ ```
72
+ You are @dev implementing Phase {N}: {name}
73
+
74
+ Context package for this phase:
75
+ - project.context.md (always)
76
+ - implementation-plan.md § Phase {N} (this phase only)
77
+ - {phase-specific artifact}: spec.md or discovery.md or architecture.md
78
+ → include only if this phase touches this data
79
+
80
+ Out of scope for this phase: {list of other phases' modules}
81
+ Do not read or modify files from those other areas.
82
+
83
+ When done:
84
+ 1. Update spec.md with decisions from this phase
85
+ 2. Mark the phase as complete in implementation-plan.md
86
+ 3. Report: DONE | DONE_WITH_CONCERNS | BLOCKED
87
+ ```
88
+
89
+ The controller (this chat) preserves full context for coordination.
90
+ Subagents have surgical context for execution.
91
+
66
92
  ### Step 4 — Monitor shared decisions
67
93
  Each subagent must write to its status file before making decisions that affect shared contracts (models, routes, schemas). Check `.aioson/context/parallel/shared-decisions.md` for conflicts before proceeding.
68
94
 
@@ -29,6 +29,55 @@ Proceed with the standard required input below.
29
29
  - `.aioson/context/prd.md` (if present — use acceptance criteria as test targets)
30
30
  - Implemented code and existing tests
31
31
 
32
+ ## Sheldon phased plan detection (RDA-05)
33
+
34
+ If `.aioson/plans/{slug}/manifest.md` exists:
35
+
36
+ **Phase-by-phase verification:**
37
+ - For each phase with `status: done`, verify the ACs of that phase against the implemented code
38
+ - Mark in the AC coverage table for each phase: covered / partial / missing
39
+ - A phase can only be marked `qa_approved` when all its Critical/High findings are resolved
40
+
41
+ **Corrections plan creation:**
42
+
43
+ When findings are discovered after implementation:
44
+
45
+ 1. Create `.aioson/plans/{slug}/corrections-{ISO-date}.md`:
46
+ ```markdown
47
+ ---
48
+ phase: NN
49
+ created: {ISO-date}
50
+ status: open # open | in_progress | resolved
51
+ ---
52
+
53
+ # Corrections Plan — Phase NN — {date}
54
+
55
+ ## Context
56
+ QA ran on {date} and found {N} Critical, {N} High.
57
+
58
+ ## Mandatory corrections
59
+ ### C-01 — {title}
60
+ File: {path:line}
61
+ Problem: {description}
62
+ Expected fix: {fix description}
63
+ Affected AC: AC-NN
64
+
65
+ ## Optional corrections
66
+ ### O-01 — {title}
67
+ ...
68
+ ```
69
+
70
+ 2. Inform the user:
71
+ > "Corrections plan created at `.aioson/plans/{slug}/corrections-{date}.md`.
72
+ > Activate `@dev` to apply the corrections. After fixing, return to `@qa` for re-verification."
73
+
74
+ **After corrections verified and approved:**
75
+
76
+ - Update phase `status` in the manifest to `qa_approved`
77
+ - Tell the user:
78
+ > "Phase [N] approved by QA.
79
+ > For routine fixes and small adjustments, you can use `@deyvin` directly."
80
+
32
81
  ## Brownfield memory handoff
33
82
 
34
83
  For existing codebases:
@@ -31,7 +31,15 @@ Mandatory behavior for inconsistent returning projects:
31
31
  Do NOT re-run the full onboarding unless the user explicitly requests it or the remaining ambiguity truly requires onboarding answers.
32
32
 
33
33
  **First run (file does not exist):**
34
- Proceed with detection and full onboarding below.
34
+ Check whether the AIOSON template is installed (`.aioson/` directory exists). If the template is missing, tell the user to run:
35
+
36
+ ```bash
37
+ npx @jaimevalasek/aioson setup .
38
+ ```
39
+
40
+ This single command installs the template, auto-detects the framework, infers the system language, and writes an initial `project.context.md`. After running it, the user activates `@setup` to confirm or refine the generated context.
41
+
42
+ If the template is already installed but `project.context.md` is missing, proceed with detection and full onboarding below.
35
43
 
36
44
  ## Mandatory sequence
37
45
  1. **Entry check** (above) — return summary if project.context.md exists and is valid; auto-repair first if it exists but is inconsistent; full flow if it does not exist.
@@ -72,6 +80,30 @@ If framework is not detected:
72
80
 
73
81
  ## Profile onboarding
74
82
 
83
+ ### Step 0 — Scan workspace before asking anything
84
+
85
+ Before asking the user any question, run:
86
+ ```bash
87
+ aioson setup:context . --defaults --json
88
+ ```
89
+
90
+ This returns the auto-inferred values (framework, system language, project name from directory, classification). Show them as a confirmation block:
91
+
92
+ > **Auto-detected:**
93
+ > - Name: `{projectName}` (from directory)
94
+ > - Framework: `{framework}` (detected in workspace: `{frameworkInstalled}`)
95
+ > - Type: `{projectType}` (inferred from framework)
96
+ > - Classification: `{classification}` (auto-scored)
97
+ > - Language: `{conversationLanguage}` (from system locale)
98
+ >
99
+ > "Does this look right? Tell me what to change, or confirm to proceed."
100
+
101
+ Wait for the user's response. Apply corrections as explicit `--option=value` flags when calling the final `aioson setup:context` command.
102
+
103
+ If `aioson` is not available, skip this step and proceed directly to Step 1.
104
+
105
+ > **Note:** If the user ran `aioson setup .` before activating this agent, `project.context.md` is already written. Treat Step 0 as a confirmation pass — show the existing context and ask only what needs to be corrected.
106
+
75
107
  ### Step 1 — Understand the project
76
108
  Ask ONE open question. Do not show a form:
77
109
  > "Describe the project in one or two sentences — what does it do and who is it for?"
@@ -256,13 +288,14 @@ framework_installed: true
256
288
  classification: "MICRO|SMALL|MEDIUM"
257
289
  conversation_language: "en"
258
290
  design_skill: ""
291
+ test_runner: ""
259
292
  web3_enabled: false
260
293
  web3_networks: ""
261
294
  contract_framework: ""
262
295
  wallet_provider: ""
263
296
  indexer: ""
264
297
  rpc_provider: ""
265
- aioson_version: "0.1.25"
298
+ aioson_version: "1.5.1"
266
299
  generated_at: "ISO-8601"
267
300
  ---
268
301