@jaimevalasek/aioson 1.5.1 → 1.7.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 (341) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +729 -226
  3. package/docs/design-previews/aurora-command-ui-website.html +884 -0
  4. package/docs/design-previews/aurora-command-ui.html +682 -0
  5. package/docs/design-previews/bold-editorial-ui-website.html +658 -0
  6. package/docs/design-previews/bold-editorial-ui.html +717 -0
  7. package/docs/design-previews/clean-saas-ui-website.html +1202 -0
  8. package/docs/design-previews/clean-saas-ui.html +549 -0
  9. package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
  10. package/docs/design-previews/cognitive-core-ui.html +463 -0
  11. package/docs/design-previews/glassmorphism-ui-website.html +572 -0
  12. package/docs/design-previews/glassmorphism-ui.html +886 -0
  13. package/docs/design-previews/index.html +699 -0
  14. package/docs/design-previews/interface-design-website.html +1187 -0
  15. package/docs/design-previews/interface-design.html +513 -0
  16. package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
  17. package/docs/design-previews/neo-brutalist-ui.html +797 -0
  18. package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
  19. package/docs/design-previews/premium-command-center-ui.html +552 -0
  20. package/docs/design-previews/pt.squarespace.com-homepage.html +889 -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/integrations/sdlc-genius-boundary.md +76 -0
  25. package/docs/integrations/sdlc-genius-eval-matrix.md +75 -0
  26. package/docs/integrations/sdlc-genius-install-checklist.md +93 -0
  27. package/docs/integrations/sdlc-genius-review-samples.md +86 -0
  28. package/docs/pt/README.md +10 -0
  29. package/docs/pt/agent-sharding.md +132 -0
  30. package/docs/pt/agentes.md +9 -2
  31. package/docs/pt/busca-de-contexto.md +129 -0
  32. package/docs/pt/cache-de-contexto.md +156 -0
  33. package/docs/pt/comandos-cli.md +915 -1
  34. package/docs/pt/design-hybrid-forge.md +356 -0
  35. package/docs/pt/devlog-pipeline.md +270 -0
  36. package/docs/pt/fluxo-artefatos.md +178 -0
  37. package/docs/pt/hooks-session-guard.md +454 -0
  38. package/docs/pt/inicio-rapido.md +54 -3
  39. package/docs/pt/inteligencia-adaptativa.md +324 -0
  40. package/docs/pt/monitor-de-contexto.md +158 -0
  41. package/docs/pt/recuperacao-de-sessao.md +125 -0
  42. package/docs/pt/sandbox.md +125 -0
  43. package/docs/pt/sdd-automation-scripts.md +557 -0
  44. package/docs/pt/site-forge.md +309 -0
  45. package/docs/pt/skills.md +98 -6
  46. package/docs/pt/spec-learnings-pipeline.md +265 -0
  47. package/package.json +1 -1
  48. package/src/a2a/client.js +165 -0
  49. package/src/a2a/server.js +223 -0
  50. package/src/agent-loader.js +280 -0
  51. package/src/cli.js +329 -1
  52. package/src/commands/agent-audit.js +397 -0
  53. package/src/commands/agent-export-skill.js +229 -0
  54. package/src/commands/agent-loader.js +85 -0
  55. package/src/commands/artifact-validate.js +189 -0
  56. package/src/commands/brief-gen.js +405 -0
  57. package/src/commands/brief-validate.js +65 -0
  58. package/src/commands/classify.js +256 -0
  59. package/src/commands/context-cache.js +90 -0
  60. package/src/commands/context-compact.js +49 -0
  61. package/src/commands/context-health.js +175 -0
  62. package/src/commands/context-monitor.js +163 -0
  63. package/src/commands/context-search.js +66 -0
  64. package/src/commands/context-trim.js +177 -0
  65. package/src/commands/design-hybrid-options.js +385 -0
  66. package/src/commands/detect-test-runner.js +55 -0
  67. package/src/commands/devlog-export-brains.js +27 -0
  68. package/src/commands/devlog-process.js +292 -0
  69. package/src/commands/devlog-watch.js +131 -0
  70. package/src/commands/feature-close.js +165 -0
  71. package/src/commands/gate-check.js +228 -0
  72. package/src/commands/health.js +214 -0
  73. package/src/commands/hooks-emit.js +253 -0
  74. package/src/commands/hooks-install.js +347 -0
  75. package/src/commands/init.js +54 -13
  76. package/src/commands/install.js +52 -13
  77. package/src/commands/learning-auto-promote.js +195 -0
  78. package/src/commands/learning-evolve.js +364 -0
  79. package/src/commands/learning-export.js +103 -0
  80. package/src/commands/learning-rollback.js +164 -0
  81. package/src/commands/live.js +59 -1
  82. package/src/commands/pattern-detect.js +33 -0
  83. package/src/commands/preflight-context.js +30 -0
  84. package/src/commands/preflight.js +208 -0
  85. package/src/commands/pulse-update.js +130 -0
  86. package/src/commands/recovery.js +43 -0
  87. package/src/commands/runner-daemon.js +274 -0
  88. package/src/commands/runner-plan.js +70 -0
  89. package/src/commands/runner-queue-from-plan.js +166 -0
  90. package/src/commands/runner-queue.js +189 -0
  91. package/src/commands/runner-run.js +129 -0
  92. package/src/commands/runtime.js +47 -1
  93. package/src/commands/sandbox.js +37 -0
  94. package/src/commands/self-implement-loop.js +256 -0
  95. package/src/commands/session-guard.js +218 -0
  96. package/src/commands/setup-context.js +22 -2
  97. package/src/commands/setup.js +178 -0
  98. package/src/commands/sizing.js +165 -0
  99. package/src/commands/skill.js +144 -32
  100. package/src/commands/spec-checkpoint.js +177 -0
  101. package/src/commands/spec-status.js +79 -0
  102. package/src/commands/spec-sync.js +190 -0
  103. package/src/commands/spec-tasks.js +288 -0
  104. package/src/commands/squad-autorun.js +1220 -0
  105. package/src/commands/squad-bus.js +217 -0
  106. package/src/commands/squad-card.js +149 -0
  107. package/src/commands/squad-daemon.js +134 -0
  108. package/src/commands/squad-dependency-graph.js +164 -0
  109. package/src/commands/squad-review.js +106 -0
  110. package/src/commands/squad-scaffold.js +55 -0
  111. package/src/commands/squad-tool-register.js +157 -0
  112. package/src/commands/state-save.js +122 -0
  113. package/src/commands/tool-registry-cmd.js +232 -0
  114. package/src/commands/update.js +9 -0
  115. package/src/commands/verify-gate.js +572 -0
  116. package/src/commands/workflow-execute.js +241 -0
  117. package/src/constants.js +18 -0
  118. package/src/context-cache.js +159 -0
  119. package/src/context-search.js +326 -0
  120. package/src/design-variation-catalog.js +503 -0
  121. package/src/i18n/messages/en.js +32 -2
  122. package/src/i18n/messages/es.js +30 -2
  123. package/src/i18n/messages/fr.js +30 -2
  124. package/src/i18n/messages/pt-BR.js +32 -2
  125. package/src/install-animation.js +260 -0
  126. package/src/install-profile.js +143 -0
  127. package/src/install-wizard.js +475 -0
  128. package/src/installer.js +44 -10
  129. package/src/lib/health-check.js +158 -0
  130. package/src/lib/hook-protocol.js +76 -0
  131. package/src/mcp/apps/squad-dashboard/app.js +163 -0
  132. package/src/mcp/apps/squad-dashboard/index.html +261 -0
  133. package/src/mcp/apps/squad-dashboard/mcp-manifest.json +23 -0
  134. package/src/mcp/resources/squad-state.js +130 -0
  135. package/src/parser.js +7 -1
  136. package/src/preflight-engine.js +443 -0
  137. package/src/recovery-context-session.js +154 -0
  138. package/src/runner/cascade.js +97 -0
  139. package/src/runner/cli-launcher.js +109 -0
  140. package/src/runner/plan-importer.js +63 -0
  141. package/src/runner/queue-store.js +159 -0
  142. package/src/runtime-store.js +158 -4
  143. package/src/sandbox.js +177 -0
  144. package/src/squad/agent-teams-adapter.js +264 -0
  145. package/src/squad/brief-validator.js +350 -0
  146. package/src/squad/bus-bridge.js +140 -0
  147. package/src/squad/context-compactor.js +265 -0
  148. package/src/squad/cross-ai-synthesizer.js +250 -0
  149. package/src/squad/hooks-generator.js +196 -0
  150. package/src/squad/inter-squad-events.js +175 -0
  151. package/src/squad/intra-bus.js +345 -0
  152. package/src/squad/learning-extractor.js +213 -0
  153. package/src/squad/pattern-detector.js +365 -0
  154. package/src/squad/preflight-context.js +296 -0
  155. package/src/squad/recovery-context.js +242 -71
  156. package/src/squad/reflection.js +365 -0
  157. package/src/squad/squad-scaffold.js +177 -0
  158. package/src/squad/state-manager.js +310 -0
  159. package/src/squad/task-decomposer.js +652 -0
  160. package/src/squad/verify-gate.js +303 -0
  161. package/src/tool-executor.js +94 -0
  162. package/src/updater.js +10 -3
  163. package/src/worker-runner.js +186 -1
  164. package/template/.aioson/agents/analyst.md +119 -3
  165. package/template/.aioson/agents/architect.md +98 -0
  166. package/template/.aioson/agents/design-hybrid-forge.md +141 -0
  167. package/template/.aioson/agents/dev.md +335 -14
  168. package/template/.aioson/agents/deyvin.md +117 -2
  169. package/template/.aioson/agents/discovery-design-doc.md +44 -0
  170. package/template/.aioson/agents/genome.md +14 -0
  171. package/template/.aioson/agents/neo.md +78 -1
  172. package/template/.aioson/agents/orache.md +50 -4
  173. package/template/.aioson/agents/orchestrator.md +197 -1
  174. package/template/.aioson/agents/pm.md +93 -0
  175. package/template/.aioson/agents/product.md +77 -4
  176. package/template/.aioson/agents/profiler-enricher.md +14 -0
  177. package/template/.aioson/agents/profiler-forge.md +14 -0
  178. package/template/.aioson/agents/profiler-researcher.md +14 -0
  179. package/template/.aioson/agents/qa.md +249 -19
  180. package/template/.aioson/agents/setup.md +144 -12
  181. package/template/.aioson/agents/sheldon.md +237 -11
  182. package/template/.aioson/agents/site-forge.md +1753 -0
  183. package/template/.aioson/agents/squad.md +162 -0
  184. package/template/.aioson/agents/tester.md +209 -0
  185. package/template/.aioson/agents/ux-ui.md +34 -1
  186. package/template/.aioson/brains/README.md +128 -0
  187. package/template/.aioson/brains/_index.json +16 -0
  188. package/template/.aioson/brains/scripts/query.js +103 -0
  189. package/template/.aioson/brains/site-forge/visual-patterns.brain.json +205 -0
  190. package/template/.aioson/config.md +158 -13
  191. package/template/.aioson/constitution.md +33 -0
  192. package/template/.aioson/context/forensics/.gitkeep +0 -0
  193. package/template/.aioson/context/project-pulse.md +34 -0
  194. package/template/.aioson/context/seeds/seed-example.md +27 -0
  195. package/template/.aioson/context/user-profile.md +42 -0
  196. package/template/.aioson/docs/LAYERS.md +79 -0
  197. package/template/.aioson/docs/README.md +76 -0
  198. package/template/.aioson/docs/example-external-api-context.md +72 -0
  199. package/template/.aioson/locales/en/agents/architect.md +17 -0
  200. package/template/.aioson/locales/en/agents/dev.md +79 -13
  201. package/template/.aioson/locales/en/agents/orache.md +6 -0
  202. package/template/.aioson/locales/en/agents/orchestrator.md +24 -0
  203. package/template/.aioson/locales/en/agents/product.md +50 -0
  204. package/template/.aioson/locales/en/agents/setup.md +33 -1
  205. package/template/.aioson/locales/en/agents/sheldon.md +115 -0
  206. package/template/.aioson/locales/en/agents/squad.md +14 -0
  207. package/template/.aioson/locales/en/agents/tester.md +6 -0
  208. package/template/.aioson/locales/es/agents/analyst.md +2 -0
  209. package/template/.aioson/locales/es/agents/architect.md +19 -0
  210. package/template/.aioson/locales/es/agents/dev.md +64 -4
  211. package/template/.aioson/locales/es/agents/deyvin.md +2 -0
  212. package/template/.aioson/locales/es/agents/discovery-design-doc.md +2 -0
  213. package/template/.aioson/locales/es/agents/genome.md +2 -0
  214. package/template/.aioson/locales/es/agents/neo.md +2 -0
  215. package/template/.aioson/locales/es/agents/orache.md +2 -0
  216. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  217. package/template/.aioson/locales/es/agents/pair.md +2 -0
  218. package/template/.aioson/locales/es/agents/pm.md +2 -0
  219. package/template/.aioson/locales/es/agents/product.md +52 -0
  220. package/template/.aioson/locales/es/agents/profiler-enricher.md +2 -0
  221. package/template/.aioson/locales/es/agents/profiler-forge.md +2 -0
  222. package/template/.aioson/locales/es/agents/profiler-researcher.md +2 -0
  223. package/template/.aioson/locales/es/agents/qa.md +2 -0
  224. package/template/.aioson/locales/es/agents/setup.md +35 -1
  225. package/template/.aioson/locales/es/agents/sheldon.md +117 -0
  226. package/template/.aioson/locales/es/agents/squad.md +16 -0
  227. package/template/.aioson/locales/es/agents/tester.md +9 -0
  228. package/template/.aioson/locales/es/agents/ux-ui.md +2 -0
  229. package/template/.aioson/locales/fr/agents/analyst.md +2 -0
  230. package/template/.aioson/locales/fr/agents/architect.md +19 -0
  231. package/template/.aioson/locales/fr/agents/dev.md +64 -4
  232. package/template/.aioson/locales/fr/agents/deyvin.md +2 -0
  233. package/template/.aioson/locales/fr/agents/discovery-design-doc.md +2 -0
  234. package/template/.aioson/locales/fr/agents/genome.md +2 -0
  235. package/template/.aioson/locales/fr/agents/neo.md +2 -0
  236. package/template/.aioson/locales/fr/agents/orache.md +2 -0
  237. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  238. package/template/.aioson/locales/fr/agents/pair.md +2 -0
  239. package/template/.aioson/locales/fr/agents/pm.md +2 -0
  240. package/template/.aioson/locales/fr/agents/product.md +52 -0
  241. package/template/.aioson/locales/fr/agents/profiler-enricher.md +2 -0
  242. package/template/.aioson/locales/fr/agents/profiler-forge.md +2 -0
  243. package/template/.aioson/locales/fr/agents/profiler-researcher.md +2 -0
  244. package/template/.aioson/locales/fr/agents/qa.md +2 -0
  245. package/template/.aioson/locales/fr/agents/setup.md +35 -1
  246. package/template/.aioson/locales/fr/agents/sheldon.md +117 -0
  247. package/template/.aioson/locales/fr/agents/squad.md +16 -0
  248. package/template/.aioson/locales/fr/agents/tester.md +9 -0
  249. package/template/.aioson/locales/fr/agents/ux-ui.md +2 -0
  250. package/template/.aioson/locales/pt-BR/agents/analyst.md +64 -3
  251. package/template/.aioson/locales/pt-BR/agents/architect.md +42 -0
  252. package/template/.aioson/locales/pt-BR/agents/dev.md +147 -14
  253. package/template/.aioson/locales/pt-BR/agents/deyvin.md +47 -0
  254. package/template/.aioson/locales/pt-BR/agents/neo.md +62 -1
  255. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +158 -2
  256. package/template/.aioson/locales/pt-BR/agents/pm.md +95 -1
  257. package/template/.aioson/locales/pt-BR/agents/product.md +145 -18
  258. package/template/.aioson/locales/pt-BR/agents/qa.md +16 -0
  259. package/template/.aioson/locales/pt-BR/agents/setup.md +134 -19
  260. package/template/.aioson/locales/pt-BR/agents/sheldon.md +132 -1
  261. package/template/.aioson/locales/pt-BR/agents/squad.md +14 -0
  262. package/template/.aioson/locales/pt-BR/agents/tester.md +449 -0
  263. package/template/.aioson/rules/README.md +69 -0
  264. package/template/.aioson/rules/data-format-convention.md +136 -0
  265. package/template/.aioson/rules/example-monetary-values.md +30 -0
  266. package/template/.aioson/schemas/squad-manifest.schema.json +124 -3
  267. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
  268. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
  269. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
  270. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
  271. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
  272. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
  273. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
  274. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
  275. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
  276. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
  277. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
  278. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
  279. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
  280. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
  281. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
  282. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
  283. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
  284. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
  285. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
  286. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
  287. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
  288. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
  289. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
  290. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
  291. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -0
  292. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +66 -0
  293. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +368 -0
  294. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -0
  295. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -0
  296. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -0
  297. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +165 -0
  298. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +46 -0
  299. package/template/.aioson/skills/process/aioson-spec-driven/references/analyst.md +30 -0
  300. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
  301. package/template/.aioson/skills/process/aioson-spec-driven/references/architect.md +23 -0
  302. package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
  303. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
  304. package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +47 -0
  305. package/template/.aioson/skills/process/aioson-spec-driven/references/deyvin.md +27 -0
  306. package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
  307. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +101 -0
  308. package/template/.aioson/skills/process/aioson-spec-driven/references/product.md +25 -0
  309. package/template/.aioson/skills/process/aioson-spec-driven/references/qa.md +30 -0
  310. package/template/.aioson/skills/process/aioson-spec-driven/references/sheldon.md +25 -0
  311. package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
  312. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +147 -0
  313. package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
  314. package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
  315. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +306 -0
  316. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +149 -0
  317. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +208 -0
  318. package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
  319. package/template/.aioson/skills/process/simplify/SKILL.md +173 -0
  320. package/template/.aioson/skills/static/context-budget-guide.md +46 -0
  321. package/template/.aioson/skills/static/harness-sensors.md +74 -0
  322. package/template/.aioson/skills/static/multi-agent-patterns.md +43 -0
  323. package/template/.aioson/skills/static/react-motion-patterns.md +22 -0
  324. package/template/.aioson/skills/static/static-html-patterns/checklists.md +43 -0
  325. package/template/.aioson/skills/static/static-html-patterns/css-tokens.md +609 -0
  326. package/template/.aioson/skills/static/static-html-patterns/motion.md +193 -0
  327. package/template/.aioson/skills/static/static-html-patterns/premium.md +711 -0
  328. package/template/.aioson/skills/static/static-html-patterns/structure.md +209 -0
  329. package/template/.aioson/skills/static/static-html-patterns/utilities.md +190 -0
  330. package/template/.aioson/skills/static/static-html-patterns.md +58 -1913
  331. package/template/.aioson/skills/static/threejs-patterns.md +929 -0
  332. package/template/.aioson/skills/static/web-research-cache.md +112 -0
  333. package/template/.aioson/tasks/implementation-plan.md +21 -1
  334. package/template/.claude/commands/aioson/agent/design-hybrid-forge.md +5 -0
  335. package/template/.claude/commands/aioson/agent/orache.md +5 -0
  336. package/template/.claude/commands/aioson/agent/sheldon.md +5 -0
  337. package/template/.claude/commands/aioson/agent/site-forge.md +5 -0
  338. package/template/AGENTS.md +75 -1
  339. package/template/CLAUDE.md +31 -0
  340. package/template/OPENCODE.md +4 -0
  341. package/template/researchs/.gitkeep +0 -0
@@ -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,23 @@
1
+ # Spec-Driven Reference — @architect
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for architecture work
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `classification-map.md` — use to determine architecture depth: MICRO skips most of this, MEDIUM requires full `architecture.md`
10
+ - `approval-gates.md` — Gate B criteria define what @architect must produce before @dev can start; Gate A must already be passed before @architect begins
11
+ - `artifact-map.md` — use to confirm which artifacts @architect owns (`architecture.md`, `design-doc*.md`) and which feed into it
12
+
13
+ ### Do not load for @architect
14
+
15
+ - `hardening-lane.md` — input is expected to be already past vibe mode when @architect is activated
16
+ - `maintenance-and-state.md` — this is for execution/continuation sessions
17
+
18
+ ## Behavioral notes
19
+
20
+ - Classification depth from `classification-map.md` controls whether `architecture.md` is required, selective, or skippable
21
+ - Gate B is the handoff signal — @dev must not start implementation without Gate B passing (MEDIUM) or being explicitly waived (SMALL)
22
+ - Decision rationale is mandatory for non-obvious choices — `approval-gates.md` Gate B checklist item applies
23
+ - `design-doc*.md` is @architect's scope-specific decision document — see `artifact-map.md`
@@ -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,47 @@
1
+ # Spec-Driven Reference — @dev
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for implementation
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `maintenance-and-state.md` — use to write and update `spec-{slug}.md` correctly: `phase_gates`, `last_checkpoint`, `pending_review`, and `Key decisions` format
10
+ - `approval-gates.md` — Gate C (plan approval) must be checked before executing a significant batch; Gate D (execution verification) defines done criteria for each phase
11
+
12
+ ### Load when starting a new feature with classification context
13
+
14
+ - `classification-map.md` — use to confirm whether an implementation plan is optional (MICRO), recommended (SMALL), or required (MEDIUM) before starting
15
+
16
+ ### Load when resuming or checking artifact chain
17
+
18
+ - `artifact-map.md` — use to verify which upstream artifacts exist and which @dev should read before implementing
19
+
20
+ ### Do not load for @dev
21
+
22
+ - `hardening-lane.md` — @dev activates after hardening; if the spec is still in vibe mode, stop and route back
23
+ - `ui-language.md` — load only when producing a checkpoint or gate status presentation for the user
24
+
25
+ ## Spec drift detection
26
+
27
+ At session start, after reading `spec-{slug}.md`:
28
+
29
+ 1. Compare `spec_version` in `spec-{slug}.md` with the version recorded in `dev-state.md` (`last_spec_version` field)
30
+ 2. If versions differ:
31
+ > "⚠ Spec changed since last session (version {old} → {new}). Reading the changes before continuing."
32
+ - Read the diff (Key decisions, Entities added, Edge cases sections)
33
+ - Update `dev-state.md` with new `last_spec_version`
34
+ 3. If versions match: proceed normally
35
+
36
+ Additionally, at session start for SMALL/MEDIUM:
37
+ 4. Check if any `AC-{slug}-{N}` from `requirements-{slug}.md` has a corresponding test file
38
+ 5. If coverage is < 50%:
39
+ > "⚠ AC coverage is low ({N}/{M} ACs have tests). Consider writing missing tests before adding new behavior."
40
+ This is informational, not blocking.
41
+
42
+ ## Behavioral notes
43
+
44
+ - `spec-{slug}.md` must be updated at the end of every implementation session — see `maintenance-and-state.md` for format
45
+ - Gate C from `approval-gates.md` means the implementation plan is locked — do not re-discuss pre-taken decisions
46
+ - Gate D verification must happen before marking a phase complete — not just "I think it works"
47
+ - If `phase_gates.plan` is `pending` and classification is SMALL/MEDIUM, suggest generating an implementation plan before proceeding
@@ -0,0 +1,27 @@
1
+ # Spec-Driven Reference — @deyvin
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for continuation and resume flows
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `maintenance-and-state.md` — @deyvin's primary job is resumption; use this to read `phase_gates`, `last_checkpoint`, and `pending_review` correctly before any action
10
+ - `approval-gates.md` — use to check which gates are already approved before proceeding; never advance past a gate that is not yet passed
11
+
12
+ ### Load when the continuation context is unclear
13
+
14
+ - `artifact-map.md` — use to quickly orient which artifacts exist and which are missing when resuming a session with incomplete context
15
+
16
+ ### Do not load for @deyvin
17
+
18
+ - `hardening-lane.md` — by the time @deyvin is active, the spec pack should already be hardened
19
+ - `classification-map.md` — classification was set in the spec and should not be re-evaluated during continuation
20
+ - `ui-language.md` — load only when producing a checkpoint or gate status presentation for the user
21
+
22
+ ## Behavioral notes
23
+
24
+ - `last_checkpoint` in `spec-{slug}.md` is the first thing @deyvin reads — see `maintenance-and-state.md` for format
25
+ - Do not re-read the full spec pack unless `last_checkpoint` is null or contradictory
26
+ - `phase_gates` from `approval-gates.md` defines what is locked — @deyvin does not re-open locked decisions
27
+ - `pending_review` items must be surfaced to the user before proceeding past them
@@ -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,101 @@
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
+ ## spec_version field
61
+
62
+ - Seeded at `1` by @analyst when creating the skeleton
63
+ - Incremented by any agent that modifies the spec body (entities, decisions, edge cases — NOT just `last_checkpoint` or `pending_review`)
64
+ - @dev checks at session start: if version changed since last `dev-state.md` update, read the spec diff before continuing
65
+ - @qa checks at review: if version doesn't match what @dev reported, flag as potential drift
66
+
67
+ ## Unified resumption fields
68
+
69
+ Every agent that produces or updates a persistent artifact should include these fields in the artifact's frontmatter or closing section:
70
+
71
+ ### In frontmatter (machine-readable):
72
+ - `last_agent: {agent-name}` — who was here last
73
+ - `last_session: {ISO-date}` — when
74
+ - `session_result: completed | interrupted | blocked` — what happened
75
+
76
+ ### In closing section (human-readable):
77
+ ```
78
+ ## Session close — {ISO-date}
79
+ Agent: @{name}
80
+ Result: {completed | interrupted | blocked}
81
+ Next: {clear instruction for next agent or next session}
82
+ ```
83
+
84
+ ### Which artifact each agent updates:
85
+ | Agent | Primary artifact |
86
+ |-------|-----------------|
87
+ | @product | `prd.md` or `prd-{slug}.md` |
88
+ | @sheldon | `sheldon-enrichment-{slug}.md` |
89
+ | @analyst | `discovery.md` or `requirements-{slug}.md` |
90
+ | @architect | `architecture.md` |
91
+ | @dev | `dev-state.md` (already does this) |
92
+ | @deyvin | `dev-state.md` or `spec-{slug}.md` |
93
+ | @qa | QA report file |
94
+
95
+ ## How @deyvin should use this file
96
+
97
+ 1. Read `phase_gates` first — know which phases are locked
98
+ 2. Read `last_checkpoint` — start from there, not from the beginning
99
+ 3. Read `pending_review` — these may need user input before proceeding
100
+ 4. Read `Key decisions` only if the next task involves re-touching those areas
101
+ 5. Do NOT re-read the full spec pack unless `last_checkpoint` is null or unclear
@@ -0,0 +1,25 @@
1
+ # Spec-Driven Reference — @product
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for PRD and feature scoping
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `classification-map.md` — use to declare MICRO/SMALL/MEDIUM at the start of scoping; classification controls PRD depth, whether a `## Specify depth` section is required, and which downstream phases are mandatory
10
+ - `artifact-map.md` — use to understand what @product's PRD feeds into downstream; helps scope the PRD correctly without over-specifying what belongs to @analyst or @architect
11
+
12
+ ### Load when input is still ambiguous or exploratory
13
+
14
+ - `hardening-lane.md` — use to detect if the request is still in vibe mode and needs more discovery before a PRD can be written
15
+
16
+ ### Do not load for @product
17
+
18
+ - `approval-gates.md` — @product produces the PRD; Gate A is evaluated by @analyst after @product hands off
19
+ - `maintenance-and-state.md` — this is for execution/continuation sessions
20
+
21
+ ## Behavioral notes
22
+
23
+ - Classification (MICRO/SMALL/MEDIUM) from `classification-map.md` must be declared in the PRD — it is the signal that controls all downstream process depth
24
+ - @product does not write requirements (`requirements-{slug}.md`) — those belong to @analyst; see `artifact-map.md` for the boundary
25
+ - If classification is MEDIUM, the PRD must include a `## Specify depth` section per `classification-map.md`
@@ -0,0 +1,30 @@
1
+ # Spec-Driven Reference — @qa
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for quality verification
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `approval-gates.md` — Gate D (execution verification) defines done criteria; @qa is the external verifier of Gate D claims
10
+ - `artifact-map.md` — use to verify that all artifacts claimed by upstream agents actually exist and are substantive
11
+
12
+ ### Load when evaluating AC coverage
13
+
14
+ - `classification-map.md` — use to calibrate verification depth: MICRO gets happy path + auth only; MEDIUM gets full checklist + invariant tests
15
+
16
+ ### Load when investigating failures or forensics
17
+
18
+ - `maintenance-and-state.md` — use to read `phase_gates`, `last_checkpoint`, and `pending_review` from `spec-{slug}.md` during forensics mode
19
+
20
+ ### Do not load for @qa
21
+
22
+ - `hardening-lane.md` — @qa activates after implementation; hardening is not relevant
23
+ - `ui-language.md` — @qa produces structured reports, not interactive checkpoints
24
+
25
+ ## Behavioral notes
26
+
27
+ - @qa is the external verifier of @dev's Gate D self-certification — "I think it works" from @dev is not evidence until @qa confirms
28
+ - Gate D verification from `approval-gates.md` maps directly to @qa's adversarial probe protocol: truths = behavior tests, artifacts = file existence checks, key_links = wiring verification
29
+ - For MEDIUM projects, @qa should verify that `spec_version` in `spec-{slug}.md` matches the version that @dev was working from — if not, flag as potential drift
30
+ - AC coverage mapping in the QA report should use the same `AC-{slug}-{N}` format from `requirements-{slug}.md`
@@ -0,0 +1,25 @@
1
+ # Spec-Driven Reference — @sheldon
2
+
3
+ > Router file. Do not duplicate logic from the generic references — load those directly.
4
+
5
+ ## Which references to load for enrichment and validation
6
+
7
+ ### Always load when this skill is active
8
+
9
+ - `hardening-lane.md` — @sheldon's primary job is to move input from Lane 1 (exploration) to Lane 2 (spec hardening); use this to identify vibe signals and what is missing
10
+ - `classification-map.md` — use to determine enrichment depth: MEDIUM requires Modo C (full validation), MICRO/SMALL have lighter enrichment expectations
11
+
12
+ ### Load when evaluating PRD readiness for handoff
13
+
14
+ - `approval-gates.md` — use Gate A criteria as the readiness checklist @sheldon applies before recommending @analyst activation
15
+
16
+ ### Do not load for @sheldon
17
+
18
+ - `maintenance-and-state.md` — enrichment is a pre-execution phase; spec state is not relevant yet
19
+ - `artifact-map.md` — load only if @sheldon needs to verify that the right PRD artifact exists before enriching
20
+
21
+ ## Behavioral notes
22
+
23
+ - @sheldon activates before @analyst — its output (`sheldon-enrichment-{slug}.md`) feeds @analyst
24
+ - Vibe detection from `hardening-lane.md` determines whether to proceed with enrichment or route back to @product
25
+ - MEDIUM classification triggers Modo C: @sheldon must validate completeness more strictly than MICRO/SMALL
@@ -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)